//
//  AppDelegate.h
//  ICrEAM
//
//  Created by mac on 16/10/14.
//  Copyright © 2016年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MainViewController.h"
@class NetworkReach;
//外网ip 210.13.111.26:10098
@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow *window;
@property(nonatomic,strong,readonly)NetworkReach *netReach;
@property(nonatomic,weak)MainViewController *main;

+ (AppDelegate *)currentAppDelegate;

//网络是否连接
- (BOOL)isNetReachable;

+(MainViewController*)mainViewController;
@end

